﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace DAO
{
    public class DataProvider
    {
        public static SqlConnection ConnectionDB()
        {
            string connstring = @"Data Source=(local);Initial Catalog=BANHOA;Integrated Security=True";
            SqlConnection conn;
            conn = new SqlConnection(connstring);
            conn.Open();
            return conn;
        }
    }
}
